<?php

require_once(dirname(__FILE__) . "/databaseTesterTemplateData.php");


echo "var arListBoxElements=new Array();\n";
echo "var arListBoxEventActions=new Object();\n";

for ($i = 0; $i < count($arFunctions); $i++) {
    echo "arListBoxElements[$i]='" . $arFunctions[$i] . "';\n";
}



//echo "arListBoxEventActions['change']=function() {
//    var tmpSelected=$('#listBoxPlaceholder :selected').val()+' '+$('#listBoxPlaceholder :selected').text();
//    console.log(tmpSelected);       
//};\n";

echo "arListBoxEventActions['change']=function() { listBoxOnChange(); };\n";

echo "var selectedTestcaseId=$selectTestcaseId;\n"

?>
